//
//  Request.m
//  NetMobileLocation
//
//  Created by Mehmet Sinan Şahin on 3/8/12.
//  Copyright (c) 2012 netgis. All rights reserved.
//

#import "Request.h"
#import "NGUtility.h"
#import "NGDBHelper.h"
#import "NGAppDelegate.h"

@implementation Request 

@synthesize serviceUrl;

/**
 * Alert is updating the badge number of messages tab
 */
- (void) alertMessageForMessageArriving:(int)count {
    long newMessageNumber = [[NGDBHelper openDatabase] howManyNewMessages];
    [[NGAppDelegate getApp] setMessageBadge:newMessageNumber];
}

@end
